package com.demo.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 通过本地调用
 * */
@FeignClient(name = "sss", url = "http://localhost:8081")
public interface FeignService {

    @RequestMapping("/nacos-discovery/discovery/test")
    void test();
}
